<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<title> new document </title>
<meta name="generator" content="editplus">
<meta name="author" content="">
<meta name="keywords" content="">
<meta name="description" content="">
</head>

<body>
<script language="javascript">
<!--
function bCheckApp() 
{ 
	var tp = new Image(); 
	var oRsDiv = document.getElementById("rsDiv");

	tp.onerror = function() {
		alert(tp.height);
		alert(tp.width);

		if(184 == tp.width && 64 == tp.height)
		{
			oRsDiv.innerText = "Wireshark installed!";
		}	
		else
		{
			oRsDiv.innerText = "Wireshark NOT installed!";
		}
	}
	tp.onload = function(){
		alert("wireshark png loaded!");
	};

	tp.src = "mk:@MSITStore:C:\\Program%20Files\\Wireshark\\user-guide.chm::/wsug_chm/wsug_graphics/ws-logo.png"; 
	
}
//-->
</script>
<input type=button onclick="bCheckApp();" value="TextX200"/>
<div id="rsDiv"></div>
</body>
</html>
